package com.lou1052.redis.config;

/**
 * redis 连接配置
 * Created with IntelliJ IDEA.
 * User: liuqing
 * Date: 2015/9/27
 * Time: 21:44
 * To change this template use File | Settings | File Templates.
 */
public class RedisConfig {
    /**
     * 连接方式
     */
    private ConfigType configType;
    /**
     * 节点配置
     */
    private NodeConfig nodeConfig;

    /**
     * 集群配置
     */
    private ClusterConfig clusterConfig;


    public ConfigType getConfigType() {
        return configType;
    }

    public void setConfigType(ConfigType configType) {
        this.configType = configType;
    }

    public NodeConfig getNodeConfig() {
        return nodeConfig;
    }

    public void setNodeConfig(NodeConfig nodeConfig) {
        this.nodeConfig = nodeConfig;
    }

    public ClusterConfig getClusterConfig() {
        return clusterConfig;
    }

    public void setClusterConfig(ClusterConfig clusterConfig) {
        this.clusterConfig = clusterConfig;
    }
}
